package com.my.test.java.two.testj;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;


public class HPreparedstatement extends AbsPreparedStatement{
	
	private PreparedStatement stmt;
	private Connection conn;
	private String sql;
	
	public HPreparedstatement(){}
	
	public HPreparedstatement(Connection conn,String sql){
		try {
			this.stmt = conn.prepareStatement(sql);
		} catch (SQLException e) {
			e.printStackTrace();
		}
	}
    public ResultSet executeQuery() throws SQLException {
    	ResultSet rs = null;
        try {
            rs = stmt.executeQuery();

        } catch (Throwable t) {
        	
        } finally {
        	
        }
        return rs;
    }
}
